using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace SunshineFarmWord
{
    public class PlayerCastingState : PlayerFishingBaseState
    {
        public PlayerCastingState(PlayerStateMachine playerStateMachine) : base(playerStateMachine)
        {
        }

        #region base function
        public override void Enter()
        {
            base.Enter();

            InitCastingReusableData();

            StartAnimation(stateMachine.Player.AnimationData.CastingParameterHash);
        }

        public override void Exit()
        {
            base.Exit();

            StopAnimation(stateMachine.Player.AnimationData.CastingParameterHash);
        }

        public override void OnAnimationExitEvent()
        {
            base.OnAnimationExitEvent();

            stateMachine.ChangeState(stateMachine.WaitingState);
        }
        #endregion

        #region Main function
        #endregion


        #region 碰撞处理

        #endregion


    }
}
